// 导入统一定义的type
import * as types from '../actionTypes/counter';

// action 对象生成器
export const increment = (payload) => ({
  type: types.INCREMENT,
  payload,
});

export const decrement = (payload) => ({
  type: types.DECREMENT,
  payload,
});
